package me.helllp.dake.common;

/**
 * 定义信息码
 */
public class MessageCode {
    /**
     * 正常情况下的返回码
     */
    public static final String OK_NORMAL = "dake.system.ok";

    /**
     * 系统错误
     */
    public static final String ERROR_NORMAL = "dake.system.error";

    /**
     * 输入参数错误
     */
    public static final String ERROR_INPUT_PARAMETER = "dake.system.parameter.error";

    /**
     * 认证失败
     */
    public static final String ERROR_AUTHENTICATION = "dake.system.authentication.failed";

    /**
     * 鉴权失败
     */
    public static final String ERROR_AUTHORIZE = "dake.system.authorize.failed";

    /**
     * AES算法设置错误
     */
    public static final String ERROR_AES_ALGORITHM = "dake.system.aes.algorithm.error";

    /**
     * 解密错误
     */
    public static final String ERROR_DECRYPT = "dake.system.aes.decrypt.error";

    /**
     * 加密错误
     */
    public static final String ERROR_ENCRYPT = "dake.system.aes.encrypt.error";

    /**
     * 秘钥长度错误
     */
    public static final String ERROR_KEY_LENGTH = "dake.system.aes.key.length.error";

    /**
     * 未发现认证凭据
     */
    public static final String MSG_NO_TOKEN = "dake.system.msg.no.token";

    /**
     * 用户已经被锁定
     */
    public static final String MSG_AUTH_USER_LOCKED = "dake.business.user.locked";

    /**
     * 必须输入验证码
     */
    public static final String MSG_AUTH_MUST_VERIFYCODE = "dake.business.must.verifyCode";

    /**
     * 验证码内容错误
     */
    public static final String MSG_AUTH_VERIFYCODE_ERROR = "dake.business.verifyCode.error";

    /**
     * 用户尚未登录
     */
    public static final String MSG_AUTH_NOT_LOGIN = "dake.business.not.login";

}
